CREATE EXTERNAL TABLE IF NOT EXISTS spmi_ods.spmi_refund_eliminate_customer(
id                                                 bigint                         COMMENT '主键ID',
refund_fee_id                                      bigint                         COMMENT '退件费报价ID',
customer_id                                        bigint                         COMMENT '客户ID',
customer_code                                      String                         COMMENT '客户编码',
customer_name                                      String                         COMMENT '客户名称'
)
COMMENT '退件费报价排除客户表'
PARTITIONED BY (dt STRING COMMENT '更新/创建日期 (yyyy-MM-dd)')
STORED AS PARQUET
LOCATION '/dw/hive/spmi_ods.db/external/spmi_refund_eliminate_customer'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
);